// const type from '@/router/deployCode'

const statisticsQuery = (resolve) => require(["@/views/statisticsQuery/statisticsQueryPage/index"], resolve) // 统计查询
const realTimeCapture = (resolve) => require(["@/views/statisticsQuery/realTimeCapture/index"], resolve) // 统计查询
const deviceQuery = (resolve) => require(["@/views/statisticsQuery/deviceQueryPage/index"], resolve) // 设备查询
const portraitFiling = (resolve) => require(["@/views/statisticsQuery/portraitFilingPage/index"], resolve) // 档案列表
const portraitFilingDetails= (resolve) => require(["@/views/statisticsQuery/portraitFilingPage/details"], resolve) // 档案列表，人像归档
const labelManagement= (resolve) => require(["@/views/labelManagement/labelPage/index"], resolve) // 标签管理
const queryData = (resolve) => require(["@/views/statisticsQuery/queryDataPage/index"], resolve) // 设备查询

const appconfig = [
  {
    path: "/statisticsQuery/statisticsQueryPage",
    name: "statisticsQuery",
    component: statisticsQuery,
    meta: {
      title: "以图搜图",
      requireAuth: true
    }
  },
  {
    path: "/statisticsQuery/realTimeCapture",
    name: "realTimeCapture",
    component: realTimeCapture,
    meta: {
      title: "实时抓拍",
      requireAuth: true
    }
  },
  {
    path: "/statisticsQuery/deviceQueryPage",
    name: "deviceQuery",
    component: deviceQuery,
    meta: {
      title: "设备查询",
      requireAuth: true
    }
  },
  {
    path: "/statisticsQuery/portraitFilingPage",
    name: "portraitFiling",
    component: portraitFiling,
    meta: {
      title: "档案列表",
      requireAuth: true
    }
  },
  {
    path: "/statisticsQuery/portraitFilingPage/details",
    name: "portraitFilingDetails",
    component: portraitFilingDetails,
    meta: {
      title: "人像归档",
      requireAuth: true
    }
  },
  {
    path: "/labelManagement/labelPage",
    name: "labelManagement",
    component: labelManagement,
    meta: {
      title: "标签管理",
      requireAuth: true
    }
  },
  {
    path: "/statisticsQuery/queryDataPage",
    name: "queryData",
    component: queryData,
    meta: {
      title: "查询",
      requireAuth: true
    }
  },
]

export default appconfig
